Migrate Mail Data
Hi,
I am planning to re-setup my server and the only data I am not 100% on my process of migrating correctly is Mail. Can someone confirm is my process will work or needs tweaking?
Export Users from the Open Directory Server
- Open Server.app and select Users
- Click on the cog at the bottom of the window and select “Export Users…”
- Select Export: Local Network Users
- Select the name and location to store the export file
Copy Mail Data
- Mail Data is store in /Library/Server/Mail/Data/mail
- Copy data to external location
On New Server Setup
Import Users from Users Export File
- Open Server.app and select Users
- Click on the cog at the bottom of the window and select “Import Users…”
- Change Directory to Local Network Directory and choose the export file and click Import
Copy Mail Data
- Copy mail data to /Library/Server/Mail/Data/mail
- Open terminal and run sudo chown -R _dovecot /Library/Server/Mail/Data/mail/
Mac mini, OS X El Capitan (10.11.3), Server 5.0.15